﻿using System;

namespace 事件
{
    class Program
    {
        static void Main(string[] args)
        {
            var d = new OnlineMange();
            d.MyEvent += D_MyEvent;
            d.Add(new OnlineClient { UserId = 950 });
          


            Console.WriteLine("Hello World!");
        }

        private static void D_MyEvent(object sender, MyEventArgs e)
        {
            Console.WriteLine("tinajia l ");
        }
    }
}
